.container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.header {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.patientCard {
  background: white;
  margin: 16px;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.patientInfo {
  flex: 1;
}

.patientName {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.patientId {
  font-size: 14px;
  color: #666;
}

.switchButton {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1890ff;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid #1890ff;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.switchButton:hover {
  background: #e6f7ff;
}

.tabContainer {
  display: flex;
  background: white;
  margin: 0 16px 16px 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.tab.activeTab {
  color: #1890ff;
  background: #e6f7ff;
  font-weight: 600;
}

.reportList {
  padding: 0 16px;
}

.reportCard {
  background: white;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.reportCard.clickable {
  cursor: pointer;
}

.reportCard.clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.reportContent {
  flex: 1;
}

.reportTitle {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.reportTime {
  font-size: 14px;
  color: #666;
}

.reportStatus {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.reportStatus.completed {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.reportStatus.pending {
  background: #fff7e6;
  color: #faad14;
  border: 1px solid #ffd591;
}

/* 弹出层样式 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}

.popupHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.popupHeader h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.closeButton {
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.closeButton:hover {
  color: #666;
}

.patientList {
  padding: 16px 20px;
}

.patientItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.patientItem:hover {
  background-color: #f8f9fa;
}

.patientItem.selected {
  background-color: #e6f7ff;
}

.patientItem:last-child {
  border-bottom: none;
}

.checkIcon {
  font-size: 16px;
  color: #1890ff;
  font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .patientCard {
    margin: 12px;
    padding: 12px;
  }
  
  .tabContainer {
    margin: 0 12px 12px 12px;
  }
  
  .tab {
    padding: 12px;
    font-size: 15px;
  }
  
  .reportList {
    padding: 0 12px;
  }
  
  .reportCard {
    padding: 12px;
  }
  
  .reportTitle {
    font-size: 15px;
  }
  
  .reportTime {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .patientCard {
    margin: 8px;
    padding: 12px;
  }
  
  .tabContainer {
    margin: 0 8px 8px 8px;
  }
  
  .tab {
    padding: 10px;
    font-size: 14px;
  }
  
  .reportList {
    padding: 0 8px;
  }
  
  .reportCard {
    padding: 10px;
  }
  
  .reportTitle {
    font-size: 14px;
  }
  
  .reportTime {
    font-size: 12px;
  }
}

